package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

type DanceAnchorDrawPrize struct {
	Id            int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`                                               // id
	HostId        string         `json:"host_id" gorm:"column:host_id;type:varchar(200);default:'';comment:主播id"`                     //主播id
	HostName      string         `json:"host_name" gorm:"column:host_name;type:varchar(200);default:'';comment:主播名"`                  //主播名
	HostAvatarUrl string         `json:"host_avatar_url" gorm:"column:host_avatar_url;type:varchar(200);default:'';comment:主播头像"`     //主播头像
	DrawPrizeNum  int64          `json:"draw_prize_num" gorm:"column:draw_prize_num;type:bigint;default:0;not null;comment:多少次之前不出金"` // 多少次之前不出金
	CreatedId     int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`            // 创建人id
	UpdateId      int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`              // 更新人id
	CreatedAt     time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt     time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt     gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
